<template>
  <div>
    <router-view />
    <van-tabbar v-model="active" route>
      <van-tabbar-item to="businessPool" name="businessPool"
        >商机池</van-tabbar-item
      >
      <van-tabbar-item to="task" name="task">任务</van-tabbar-item>
      <van-tabbar-item to="my" name="my">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script setup lang="ts">
const active = ref("businessPool");
</script>

<style lang="scss" scoped>
:deep(.van-tabbar--fixed){
  z-index: 0;
}
</style>

